package com.dt.hiltmvvmdemo

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class MainViewModel @Inject constructor(val mainRepository:MainRepository): ViewModel(){

    fun printHello(){
        mainRepository.printHello()
    }
}